//File:			E_Render.h
//Purpose:		To handle all OpenGL related draw calls to the current OpenGL context
//Programmer:	Daniel Martin 4/21/2013

#pragma once
#include <GL\glew.h>
#include <GL\glfw.h>
#include <iostream>
#include "Model.h"

#include "MatrixMath.h"


class Render
{
public:

	Render(void);
	~Render(void);

	static GLuint		m_CurrentShader;
	static Mat4	m_ViewMatrix;
	static Mat4	m_ProjectionMatrix;

	static void Window_Begin();
	static void Window_End();

	static void UseShader(GLuint ShaderID);

	static void PreDraw(void);
	static void Draw(void);

	static void DrawModel(Model *_Model);
	static void DrawMesh(Mesh *_Mesh);

};
